import type { InputProps, InputNumberProps, ISelectProps } from "element-plus";
interface SelectOption {
  value: string | number | boolean | Recordable;
  label?: string;
  disabled?: boolean;
  [key: string]: any;
}

interface Select extends Omit<ISelectProps, "modelValue"> {
  options: SelectOption[];
  labelField?: string;
  valueField?: string;
  [key: string]: any;
}

type Input = Omit<InputProps, "modelValue">;
type InputNumber = Omit<InputNumberProps, "modelValue">;

export type { Select, Input, InputNumber };
